<template>
	<view class="evaluate">
		<view class="detail flexjsbac">
			<text>评价详情</text>
			<view class="flexJcac">
				<text >{{evaluate.evaluatePoint}}</text>
				<uni-icons type="star-filled" size="20" color="#FFCC5E"></uni-icons>
			</view>
		</view>
		<view class="flex align-center">
			<text>服务态度：</text>
			<uni-rate v-model="rateValue" @change="onChange" />
		</view>
		<view class="flex align-center">
			<text>服务质量：</text>
			<uni-rate v-model="rateValue" @change="onChange" />
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			evaluate:{
				type:Object,
				default:{
					evaluatePoint:4.8,
					rateValue:4,
				}
			}
		},
		data(){
			return{
				rateValue: 4,
				rate:1
			}
		}
	}
	
</script>

<style lang="scss" scoped>
	.evaluate{
		padding: 37rpx;
		.detail{
			height: 68rpx;
			font-size: 45rpx;
			font-weight: 500;
			color: #333333;
			line-height: 53rpx;
			// >text:nth-child(1){
				
			// }
		}
	}
</style>